package com.example.demo.pojo.base;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 查询基类
 *
 * @author TongDaShuai
 * @since 2021/8/23
 */
@Data
public class BaseQuery implements Serializable {

    private static final long serialVersionUID = -7034671017612362866L;

    /**
     * 每页大小
     */
    @ApiModelProperty(value = "每页大小", example = "10")
    private Integer pageSize;

    /**
     * 页码
     */
    @ApiModelProperty(value = "每页大小", example = "1")
    private Integer pageNum;
}
